package com.inforich.tourist.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.inforich.common.core.domain.BaseParamEntity;
import com.inforich.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * carousel对象 br_carousel
 *
 * @author hjm
 * @date 2022-10-21
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@TableName("br_carousel")
public class Carousel extends BaseParamEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @TableId(type = IdType.ASSIGN_UUID)
  private String id;

  /**
   * 排序索引
   */
  @Excel(name = "排序索引")
  private Long sortIndex;

  /**
   * 状态
   */
  @Excel(name = "状态")
  private Integer state;

  /**
   * 跳转链接
   */
  @Excel(name = "跳转链接")
  private String url;

  /**
   * 图片URI
   */
  private String imageId;


}